3.693 \(\int \frac {\sec ^2(c+d x) (A+C \sec ^2(c+d x))}{(a+b \sec (c+d x))^3} \, dx\)
Optimal. Leaf size=212 \[ \frac {a \left (a^2 C+A b^2\right ) \tan (c+d x)}{2 b^2 d \left (a^2-b^2\right ) (a+b \sec (c+d x))^2}+\frac {\left (-3 a^4 C+a^2 b^2 (A+6 C)+2 A b^4\right ) \tan (c+d x)}{2 b^2 d \left (a^2-b^2\right )^2 (a+b \sec (c+d x))}-\frac {a \left (C \left (2 a^4-5 a^2 b^2+6 b^4\right )+3 A b^4\right ) \tanh ^{-1}\left (\frac {\sqrt {a-b} \tan \left (\frac {1}{2} (c+d x)\right )}{\sqrt {a+b}}\right )}{b^3 d (a-b)^{5/2} (a+b)^{5/2}}+\frac {C \tanh ^{-1}(\sin (c+d x))}{b^3 d} \]
[Out]
C*arctanh(sin(d*x+c))/b^3/d-a*(3*A*b^4+(2*a^4-5*a^2*b^2+6*b^4)*C)*arctanh((a-b)^(1/2)*tan(1/2*d*x+1/2*c)/(a+b)
^(1/2))/(a-b)^(5/2)/b^3/(a+b)^(5/2)/d+1/2*a*(A*b^2+C*a^2)*tan(d*x+c)/b^2/(a^2-b^2)/d/(a+b*sec(d*x+c))^2+1/2*(2
*A*b^4-3*a^4*C+a^2*b^2*(A+6*C))*tan(d*x+c)/b^2/(a^2-b^2)^2/d/(a+b*sec(d*x+c))
________________________________________________________________________________________
Rubi [A] time = 0.59, antiderivative size = 212, normalized size of antiderivative = 1.00,
number of steps used = 7, number of rules used = 7, integrand size = 33, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.212, Rules used =
{4091, 4080, 3998, 3770, 3831, 2659, 208} \[ -\frac {a \left (C \left (-5 a^2 b^2+2 a^4+6 b^4\right )+3 A b^4\right ) \tanh ^{-1}\left (\frac {\sqrt {a-b} \tan \left (\frac {1}{2} (c+d x)\right )}{\sqrt {a+b}}\right )}{b^3 d (a-b)^{5/2} (a+b)^{5/2}}+\frac {\left (a^2 b^2 (A+6 C)-3 a^4 C+2 A b^4\right ) \tan (c+d x)}{2 b^2 d \left (a^2-b^2\right )^2 (a+b \sec (c+d x))}+\frac {a \left (a^2 C+A b^2\right ) \tan (c+d x)}{2 b^2 d \left (a^2-b^2\right ) (a+b \sec (c+d x))^2}+\frac {C \tanh ^{-1}(\sin (c+d x))}{b^3 d} \]
Antiderivative was successfully verified.
[In]
Int[(Sec[c + d*x]^2*(A + C*Sec[c + d*x]^2))/(a + b*Sec[c + d*x])^3,x]
[Out]
(C*ArcTanh[Sin[c + d*x]])/(b^3*d) - (a*(3*A*b^4 + (2*a^4 - 5*a^2*b^2 + 6*b^4)*C)*ArcTanh[(Sqrt[a - b]*Tan[(c +
d*x)/2])/Sqrt[a + b]])/((a - b)^(5/2)*b^3*(a + b)^(5/2)*d) + (a*(A*b^2 + a^2*C)*Tan[c + d*x])/(2*b^2*(a^2 - b
^2)*d*(a + b*Sec[c + d*x])^2) + ((2*A*b^4 - 3*a^4*C + a^2*b^2*(A + 6*C))*Tan[c + d*x])/(2*b^2*(a^2 - b^2)^2*d*
(a + b*Sec[c + d*x]))
Rule 208
Int[((a_) + (b_.)*(x_)^2)^(-1), x_Symbol] :> Simp[(Rt[-(a/b), 2]*ArcTanh[x/Rt[-(a/b), 2]])/a, x] /; FreeQ[{a,
b}, x] && NegQ[a/b]
Rule 2659
Int[((a_) + (b_.)*sin[Pi/2 + (c_.) + (d_.)*(x_)])^(-1), x_Symbol] :> With[{e = FreeFactors[Tan[(c + d*x)/2], x
]}, Dist[(2*e)/d, Subst[Int[1/(a + b + (a - b)*e^2*x^2), x], x, Tan[(c + d*x)/2]/e], x]] /; FreeQ[{a, b, c, d}
, x] && NeQ[a^2 - b^2, 0]
Rule 3770
Int[csc[(c_.) + (d_.)*(x_)], x_Symbol] :> -Simp[ArcTanh[Cos[c + d*x]]/d, x] /; FreeQ[{c, d}, x]
Rule 3831
Int[csc[(e_.) + (f_.)*(x_)]/(csc[(e_.) + (f_.)*(x_)]*(b_.) + (a_)), x_Symbol] :> Dist[1/b, Int[1/(1 + (a*Sin[e
+ f*x])/b), x], x] /; FreeQ[{a, b, e, f}, x] && NeQ[a^2 - b^2, 0]
Rule 3998
Int[(csc[(e_.) + (f_.)*(x_)]*(csc[(e_.) + (f_.)*(x_)]*(B_.) + (A_)))/(csc[(e_.) + (f_.)*(x_)]*(b_.) + (a_)), x
_Symbol] :> Dist[B/b, Int[Csc[e + f*x], x], x] + Dist[(A*b - a*B)/b, Int[Csc[e + f*x]/(a + b*Csc[e + f*x]), x]
, x] /; FreeQ[{a, b, e, f, A, B}, x] && NeQ[A*b - a*B, 0]
Rule 4080
Int[csc[(e_.) + (f_.)*(x_)]*((A_.) + csc[(e_.) + (f_.)*(x_)]*(B_.) + csc[(e_.) + (f_.)*(x_)]^2*(C_.))*(csc[(e_
.) + (f_.)*(x_)]*(b_.) + (a_))^(m_), x_Symbol] :> -Simp[((A*b^2 - a*b*B + a^2*C)*Cot[e + f*x]*(a + b*Csc[e + f
*x])^(m + 1))/(b*f*(m + 1)*(a^2 - b^2)), x] + Dist[1/(b*(m + 1)*(a^2 - b^2)), Int[Csc[e + f*x]*(a + b*Csc[e +
f*x])^(m + 1)*Simp[b*(a*A - b*B + a*C)*(m + 1) - (A*b^2 - a*b*B + a^2*C + b*(A*b - a*B + b*C)*(m + 1))*Csc[e +
f*x], x], x], x] /; FreeQ[{a, b, e, f, A, B, C}, x] && LtQ[m, -1] && NeQ[a^2 - b^2, 0]
Rule 4091
Int[csc[(e_.) + (f_.)*(x_)]^2*((A_.) + csc[(e_.) + (f_.)*(x_)]^2*(C_.))*(csc[(e_.) + (f_.)*(x_)]*(b_.) + (a_))
^(m_), x_Symbol] :> Simp[(a*(A*b^2 + a^2*C)*Cot[e + f*x]*(a + b*Csc[e + f*x])^(m + 1))/(b^2*f*(m + 1)*(a^2 - b
^2)), x] - Dist[1/(b^2*(m + 1)*(a^2 - b^2)), Int[Csc[e + f*x]*(a + b*Csc[e + f*x])^(m + 1)*Simp[b*(m + 1)*(a^2
*C + A*b^2) - a*(A*b^2*(m + 2) + C*(a^2 + b^2*(m + 1)))*Csc[e + f*x] - b*C*(m + 1)*(a^2 - b^2)*Csc[e + f*x]^2,
x], x], x] /; FreeQ[{a, b, e, f, A, C}, x] && NeQ[a^2 - b^2, 0] && LtQ[m, -1]
Rubi steps
\begin {align*} \int \frac {\sec ^2(c+d x) \left (A+C \sec ^2(c+d x)\right )}{(a+b \sec (c+d x))^3} \, dx &=\frac {a \left (A b^2+a^2 C\right ) \tan (c+d x)}{2 b^2 \left (a^2-b^2\right ) d (a+b \sec (c+d x))^2}+\frac {\int \frac {\sec (c+d x) \left (-2 b \left (A b^2+a^2 C\right )+a \left (A b^2-\left (a^2-2 b^2\right ) C\right ) \sec (c+d x)+2 b \left (a^2-b^2\right ) C \sec ^2(c+d x)\right )}{(a+b \sec (c+d x))^2} \, dx}{2 b^2 \left (a^2-b^2\right )}\\ &=\frac {a \left (A b^2+a^2 C\right ) \tan (c+d x)}{2 b^2 \left (a^2-b^2\right ) d (a+b \sec (c+d x))^2}+\frac {\left (2 A b^4-3 a^4 C+a^2 b^2 (A+6 C)\right ) \tan (c+d x)}{2 b^2 \left (a^2-b^2\right )^2 d (a+b \sec (c+d x))}-\frac {\int \frac {\sec (c+d x) \left (-a b^2 \left (a^2 C-b^2 (3 A+4 C)\right )-2 b \left (a^2-b^2\right )^2 C \sec (c+d x)\right )}{a+b \sec (c+d x)} \, dx}{2 b^3 \left (a^2-b^2\right )^2}\\ &=\frac {a \left (A b^2+a^2 C\right ) \tan (c+d x)}{2 b^2 \left (a^2-b^2\right ) d (a+b \sec (c+d x))^2}+\frac {\left (2 A b^4-3 a^4 C+a^2 b^2 (A+6 C)\right ) \tan (c+d x)}{2 b^2 \left (a^2-b^2\right )^2 d (a+b \sec (c+d x))}+\frac {C \int \sec (c+d x) \, dx}{b^3}-\frac {\left (a \left (3 A b^4+\left (2 a^4-5 a^2 b^2+6 b^4\right ) C\right )\right ) \int \frac {\sec (c+d x)}{a+b \sec (c+d x)} \, dx}{2 b^3 \left (a^2-b^2\right )^2}\\ &=\frac {C \tanh ^{-1}(\sin (c+d x))}{b^3 d}+\frac {a \left (A b^2+a^2 C\right ) \tan (c+d x)}{2 b^2 \left (a^2-b^2\right ) d (a+b \sec (c+d x))^2}+\frac {\left (2 A b^4-3 a^4 C+a^2 b^2 (A+6 C)\right ) \tan (c+d x)}{2 b^2 \left (a^2-b^2\right )^2 d (a+b \sec (c+d x))}-\frac {\left (a \left (3 A b^4+\left (2 a^4-5 a^2 b^2+6 b^4\right ) C\right )\right ) \int \frac {1}{1+\frac {a \cos (c+d x)}{b}} \, dx}{2 b^4 \left (a^2-b^2\right )^2}\\ &=\frac {C \tanh ^{-1}(\sin (c+d x))}{b^3 d}+\frac {a \left (A b^2+a^2 C\right ) \tan (c+d x)}{2 b^2 \left (a^2-b^2\right ) d (a+b \sec (c+d x))^2}+\frac {\left (2 A b^4-3 a^4 C+a^2 b^2 (A+6 C)\right ) \tan (c+d x)}{2 b^2 \left (a^2-b^2\right )^2 d (a+b \sec (c+d x))}-\frac {\left (a \left (3 A b^4+\left (2 a^4-5 a^2 b^2+6 b^4\right ) C\right )\right ) \operatorname {Subst}\left (\int \frac {1}{1+\frac {a}{b}+\left (1-\frac {a}{b}\right ) x^2} \, dx,x,\tan \left (\frac {1}{2} (c+d x)\right )\right )}{b^4 \left (a^2-b^2\right )^2 d}\\ &=\frac {C \tanh ^{-1}(\sin (c+d x))}{b^3 d}-\frac {a \left (3 A b^4+2 a^4 C-5 a^2 b^2 C+6 b^4 C\right ) \tanh ^{-1}\left (\frac {\sqrt {a-b} \tan \left (\frac {1}{2} (c+d x)\right )}{\sqrt {a+b}}\right )}{(a-b)^{5/2} b^3 (a+b)^{5/2} d}+\frac {a \left (A b^2+a^2 C\right ) \tan (c+d x)}{2 b^2 \left (a^2-b^2\right ) d (a+b \sec (c+d x))^2}+\frac {\left (2 A b^4-3 a^4 C+a^2 b^2 (A+6 C)\right ) \tan (c+d x)}{2 b^2 \left (a^2-b^2\right )^2 d (a+b \sec (c+d x))}\\ \end {align*}
________________________________________________________________________________________
Mathematica [C] time = 5.60, size = 445, normalized size = 2.10 \[ \frac {\sec (c+d x) (a \cos (c+d x)+b) \left (A+C \sec ^2(c+d x)\right ) \left (\frac {4 a (\sin (c)+i \cos (c)) \left (C \left (2 a^4-5 a^2 b^2+6 b^4\right )+3 A b^4\right ) (a \cos (c+d x)+b)^2 \tan ^{-1}\left (\frac {(\sin (c)+i \cos (c)) \left (\tan \left (\frac {d x}{2}\right ) (a \cos (c)-b)+a \sin (c)\right )}{\sqrt {a^2-b^2} \sqrt {(\cos (c)-i \sin (c))^2}}\right )}{\left (a^2-b^2\right )^{5/2} \sqrt {(\cos (c)-i \sin (c))^2}}+\frac {b \left (\left (a^2+2 b^2\right ) \tan (c) \left (2 a^4 C-a^2 b^2 (2 A+5 C)-A b^4\right )+a \sec (c) \left (\sin (d x) \left (-7 a^4 b C+a^2 b^3 (5 A+16 C)+4 A b^5\right )+a \left (a b \left (C \left (a^2-4 b^2\right )-3 A b^2\right ) \sin (2 c+d x)+\left (-2 a^4 C+a^2 b^2 (2 A+5 C)+A b^4\right ) \sin (c+2 d x)\right )\right )\right )}{a \left (a^2-b^2\right )^2}-4 C (a \cos (c+d x)+b)^2 \log \left (\cos \left (\frac {1}{2} (c+d x)\right )-\sin \left (\frac {1}{2} (c+d x)\right )\right )+4 C (a \cos (c+d x)+b)^2 \log \left (\sin \left (\frac {1}{2} (c+d x)\right )+\cos \left (\frac {1}{2} (c+d x)\right )\right )\right )}{2 b^3 d (a+b \sec (c+d x))^3 (A \cos (2 (c+d x))+A+2 C)} \]
Warning: Unable to verify antiderivative.
[In]
Integrate[(Sec[c + d*x]^2*(A + C*Sec[c + d*x]^2))/(a + b*Sec[c + d*x])^3,x]
[Out]
((b + a*Cos[c + d*x])*Sec[c + d*x]*(A + C*Sec[c + d*x]^2)*(-4*C*(b + a*Cos[c + d*x])^2*Log[Cos[(c + d*x)/2] -
Sin[(c + d*x)/2]] + 4*C*(b + a*Cos[c + d*x])^2*Log[Cos[(c + d*x)/2] + Sin[(c + d*x)/2]] + (4*a*(3*A*b^4 + (2*a
^4 - 5*a^2*b^2 + 6*b^4)*C)*ArcTan[((I*Cos[c] + Sin[c])*(a*Sin[c] + (-b + a*Cos[c])*Tan[(d*x)/2]))/(Sqrt[a^2 -
b^2]*Sqrt[(Cos[c] - I*Sin[c])^2])]*(b + a*Cos[c + d*x])^2*(I*Cos[c] + Sin[c]))/((a^2 - b^2)^(5/2)*Sqrt[(Cos[c]
- I*Sin[c])^2]) + (b*(a*Sec[c]*((4*A*b^5 - 7*a^4*b*C + a^2*b^3*(5*A + 16*C))*Sin[d*x] + a*(a*b*(-3*A*b^2 + (a
^2 - 4*b^2)*C)*Sin[2*c + d*x] + (A*b^4 - 2*a^4*C + a^2*b^2*(2*A + 5*C))*Sin[c + 2*d*x])) + (a^2 + 2*b^2)*(-(A*
b^4) + 2*a^4*C - a^2*b^2*(2*A + 5*C))*Tan[c]))/(a*(a^2 - b^2)^2)))/(2*b^3*d*(A + 2*C + A*Cos[2*(c + d*x)])*(a
+ b*Sec[c + d*x])^3)
________________________________________________________________________________________
fricas [B] time = 7.51, size = 1317, normalized size = 6.21 \[ \text {result too large to display} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
integrate(sec(d*x+c)^2*(A+C*sec(d*x+c)^2)/(a+b*sec(d*x+c))^3,x, algorithm="fricas")
[Out]
[1/4*((2*C*a^5*b^2 - 5*C*a^3*b^4 + 3*(A + 2*C)*a*b^6 + (2*C*a^7 - 5*C*a^5*b^2 + 3*(A + 2*C)*a^3*b^4)*cos(d*x +
c)^2 + 2*(2*C*a^6*b - 5*C*a^4*b^3 + 3*(A + 2*C)*a^2*b^5)*cos(d*x + c))*sqrt(a^2 - b^2)*log((2*a*b*cos(d*x + c
) - (a^2 - 2*b^2)*cos(d*x + c)^2 - 2*sqrt(a^2 - b^2)*(b*cos(d*x + c) + a)*sin(d*x + c) + 2*a^2 - b^2)/(a^2*cos
(d*x + c)^2 + 2*a*b*cos(d*x + c) + b^2)) + 2*(C*a^6*b^2 - 3*C*a^4*b^4 + 3*C*a^2*b^6 - C*b^8 + (C*a^8 - 3*C*a^6
*b^2 + 3*C*a^4*b^4 - C*a^2*b^6)*cos(d*x + c)^2 + 2*(C*a^7*b - 3*C*a^5*b^3 + 3*C*a^3*b^5 - C*a*b^7)*cos(d*x + c
))*log(sin(d*x + c) + 1) - 2*(C*a^6*b^2 - 3*C*a^4*b^4 + 3*C*a^2*b^6 - C*b^8 + (C*a^8 - 3*C*a^6*b^2 + 3*C*a^4*b
^4 - C*a^2*b^6)*cos(d*x + c)^2 + 2*(C*a^7*b - 3*C*a^5*b^3 + 3*C*a^3*b^5 - C*a*b^7)*cos(d*x + c))*log(-sin(d*x
+ c) + 1) - 2*(3*C*a^6*b^2 - (A + 9*C)*a^4*b^4 - (A - 6*C)*a^2*b^6 + 2*A*b^8 + (2*C*a^7*b - (2*A + 7*C)*a^5*b^
3 + (A + 5*C)*a^3*b^5 + A*a*b^7)*cos(d*x + c))*sin(d*x + c))/((a^8*b^3 - 3*a^6*b^5 + 3*a^4*b^7 - a^2*b^9)*d*co
s(d*x + c)^2 + 2*(a^7*b^4 - 3*a^5*b^6 + 3*a^3*b^8 - a*b^10)*d*cos(d*x + c) + (a^6*b^5 - 3*a^4*b^7 + 3*a^2*b^9
- b^11)*d), -1/2*((2*C*a^5*b^2 - 5*C*a^3*b^4 + 3*(A + 2*C)*a*b^6 + (2*C*a^7 - 5*C*a^5*b^2 + 3*(A + 2*C)*a^3*b^
4)*cos(d*x + c)^2 + 2*(2*C*a^6*b - 5*C*a^4*b^3 + 3*(A + 2*C)*a^2*b^5)*cos(d*x + c))*sqrt(-a^2 + b^2)*arctan(-s
qrt(-a^2 + b^2)*(b*cos(d*x + c) + a)/((a^2 - b^2)*sin(d*x + c))) - (C*a^6*b^2 - 3*C*a^4*b^4 + 3*C*a^2*b^6 - C*
b^8 + (C*a^8 - 3*C*a^6*b^2 + 3*C*a^4*b^4 - C*a^2*b^6)*cos(d*x + c)^2 + 2*(C*a^7*b - 3*C*a^5*b^3 + 3*C*a^3*b^5
- C*a*b^7)*cos(d*x + c))*log(sin(d*x + c) + 1) + (C*a^6*b^2 - 3*C*a^4*b^4 + 3*C*a^2*b^6 - C*b^8 + (C*a^8 - 3*C
*a^6*b^2 + 3*C*a^4*b^4 - C*a^2*b^6)*cos(d*x + c)^2 + 2*(C*a^7*b - 3*C*a^5*b^3 + 3*C*a^3*b^5 - C*a*b^7)*cos(d*x
+ c))*log(-sin(d*x + c) + 1) + (3*C*a^6*b^2 - (A + 9*C)*a^4*b^4 - (A - 6*C)*a^2*b^6 + 2*A*b^8 + (2*C*a^7*b -
(2*A + 7*C)*a^5*b^3 + (A + 5*C)*a^3*b^5 + A*a*b^7)*cos(d*x + c))*sin(d*x + c))/((a^8*b^3 - 3*a^6*b^5 + 3*a^4*b
^7 - a^2*b^9)*d*cos(d*x + c)^2 + 2*(a^7*b^4 - 3*a^5*b^6 + 3*a^3*b^8 - a*b^10)*d*cos(d*x + c) + (a^6*b^5 - 3*a^
4*b^7 + 3*a^2*b^9 - b^11)*d)]
________________________________________________________________________________________
giac [B] time = 0.40, size = 509, normalized size = 2.40 \[ -\frac {\frac {{\left (2 \, C a^{5} - 5 \, C a^{3} b^{2} + 3 \, A a b^{4} + 6 \, C a b^{4}\right )} {\left (\pi \left \lfloor \frac {d x + c}{2 \, \pi } + \frac {1}{2} \right \rfloor \mathrm {sgn}\left (-2 \, a + 2 \, b\right ) + \arctan \left (-\frac {a \tan \left (\frac {1}{2} \, d x + \frac {1}{2} \, c\right ) - b \tan \left (\frac {1}{2} \, d x + \frac {1}{2} \, c\right )}{\sqrt {-a^{2} + b^{2}}}\right )\right )}}{{\left (a^{4} b^{3} - 2 \, a^{2} b^{5} + b^{7}\right )} \sqrt {-a^{2} + b^{2}}} - \frac {C \log \left ({\left | \tan \left (\frac {1}{2} \, d x + \frac {1}{2} \, c\right ) + 1 \right |}\right )}{b^{3}} + \frac {C \log \left ({\left | \tan \left (\frac {1}{2} \, d x + \frac {1}{2} \, c\right ) - 1 \right |}\right )}{b^{3}} - \frac {2 \, C a^{5} \tan \left (\frac {1}{2} \, d x + \frac {1}{2} \, c\right )^{3} - 3 \, C a^{4} b \tan \left (\frac {1}{2} \, d x + \frac {1}{2} \, c\right )^{3} - 2 \, A a^{3} b^{2} \tan \left (\frac {1}{2} \, d x + \frac {1}{2} \, c\right )^{3} - 5 \, C a^{3} b^{2} \tan \left (\frac {1}{2} \, d x + \frac {1}{2} \, c\right )^{3} + A a^{2} b^{3} \tan \left (\frac {1}{2} \, d x + \frac {1}{2} \, c\right )^{3} + 6 \, C a^{2} b^{3} \tan \left (\frac {1}{2} \, d x + \frac {1}{2} \, c\right )^{3} - A a b^{4} \tan \left (\frac {1}{2} \, d x + \frac {1}{2} \, c\right )^{3} + 2 \, A b^{5} \tan \left (\frac {1}{2} \, d x + \frac {1}{2} \, c\right )^{3} - 2 \, C a^{5} \tan \left (\frac {1}{2} \, d x + \frac {1}{2} \, c\right ) - 3 \, C a^{4} b \tan \left (\frac {1}{2} \, d x + \frac {1}{2} \, c\right ) + 2 \, A a^{3} b^{2} \tan \left (\frac {1}{2} \, d x + \frac {1}{2} \, c\right ) + 5 \, C a^{3} b^{2} \tan \left (\frac {1}{2} \, d x + \frac {1}{2} \, c\right ) + A a^{2} b^{3} \tan \left (\frac {1}{2} \, d x + \frac {1}{2} \, c\right ) + 6 \, C a^{2} b^{3} \tan \left (\frac {1}{2} \, d x + \frac {1}{2} \, c\right ) + A a b^{4} \tan \left (\frac {1}{2} \, d x + \frac {1}{2} \, c\right ) + 2 \, A b^{5} \tan \left (\frac {1}{2} \, d x + \frac {1}{2} \, c\right )}{{\left (a^{4} b^{2} - 2 \, a^{2} b^{4} + b^{6}\right )} {\left (a \tan \left (\frac {1}{2} \, d x + \frac {1}{2} \, c\right )^{2} - b \tan \left (\frac {1}{2} \, d x + \frac {1}{2} \, c\right )^{2} - a - b\right )}^{2}}}{d} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
integrate(sec(d*x+c)^2*(A+C*sec(d*x+c)^2)/(a+b*sec(d*x+c))^3,x, algorithm="giac")
[Out]
-((2*C*a^5 - 5*C*a^3*b^2 + 3*A*a*b^4 + 6*C*a*b^4)*(pi*floor(1/2*(d*x + c)/pi + 1/2)*sgn(-2*a + 2*b) + arctan(-
(a*tan(1/2*d*x + 1/2*c) - b*tan(1/2*d*x + 1/2*c))/sqrt(-a^2 + b^2)))/((a^4*b^3 - 2*a^2*b^5 + b^7)*sqrt(-a^2 +
b^2)) - C*log(abs(tan(1/2*d*x + 1/2*c) + 1))/b^3 + C*log(abs(tan(1/2*d*x + 1/2*c) - 1))/b^3 - (2*C*a^5*tan(1/2
*d*x + 1/2*c)^3 - 3*C*a^4*b*tan(1/2*d*x + 1/2*c)^3 - 2*A*a^3*b^2*tan(1/2*d*x + 1/2*c)^3 - 5*C*a^3*b^2*tan(1/2*
d*x + 1/2*c)^3 + A*a^2*b^3*tan(1/2*d*x + 1/2*c)^3 + 6*C*a^2*b^3*tan(1/2*d*x + 1/2*c)^3 - A*a*b^4*tan(1/2*d*x +
1/2*c)^3 + 2*A*b^5*tan(1/2*d*x + 1/2*c)^3 - 2*C*a^5*tan(1/2*d*x + 1/2*c) - 3*C*a^4*b*tan(1/2*d*x + 1/2*c) + 2
*A*a^3*b^2*tan(1/2*d*x + 1/2*c) + 5*C*a^3*b^2*tan(1/2*d*x + 1/2*c) + A*a^2*b^3*tan(1/2*d*x + 1/2*c) + 6*C*a^2*
b^3*tan(1/2*d*x + 1/2*c) + A*a*b^4*tan(1/2*d*x + 1/2*c) + 2*A*b^5*tan(1/2*d*x + 1/2*c))/((a^4*b^2 - 2*a^2*b^4
+ b^6)*(a*tan(1/2*d*x + 1/2*c)^2 - b*tan(1/2*d*x + 1/2*c)^2 - a - b)^2))/d
________________________________________________________________________________________
maple [B] time = 0.65, size = 1165, normalized size = 5.50 \[ \text {result too large to display} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
int(sec(d*x+c)^2*(A+C*sec(d*x+c)^2)/(a+b*sec(d*x+c))^3,x)
[Out]
-2/d*a^2/(a*tan(1/2*d*x+1/2*c)^2-tan(1/2*d*x+1/2*c)^2*b-a-b)^2/(a-b)/(a^2+2*a*b+b^2)*tan(1/2*d*x+1/2*c)^3*A-1/
d*b/(a*tan(1/2*d*x+1/2*c)^2-tan(1/2*d*x+1/2*c)^2*b-a-b)^2*a/(a-b)/(a^2+2*a*b+b^2)*tan(1/2*d*x+1/2*c)^3*A-2/d*b
^2/(a*tan(1/2*d*x+1/2*c)^2-tan(1/2*d*x+1/2*c)^2*b-a-b)^2/(a-b)/(a^2+2*a*b+b^2)*tan(1/2*d*x+1/2*c)^3*A+2/d*a^4/
b^2/(a*tan(1/2*d*x+1/2*c)^2-tan(1/2*d*x+1/2*c)^2*b-a-b)^2/(a-b)/(a^2+2*a*b+b^2)*tan(1/2*d*x+1/2*c)^3*C-1/d/b/(
a*tan(1/2*d*x+1/2*c)^2-tan(1/2*d*x+1/2*c)^2*b-a-b)^2*a^3/(a-b)/(a^2+2*a*b+b^2)*tan(1/2*d*x+1/2*c)^3*C-6/d/(a*t
an(1/2*d*x+1/2*c)^2-tan(1/2*d*x+1/2*c)^2*b-a-b)^2/(a-b)/(a^2+2*a*b+b^2)*tan(1/2*d*x+1/2*c)^3*C*a^2+2/d*a^2/(a*
tan(1/2*d*x+1/2*c)^2-tan(1/2*d*x+1/2*c)^2*b-a-b)^2/(a+b)/(a-b)^2*tan(1/2*d*x+1/2*c)*A-1/d*b/(a*tan(1/2*d*x+1/2
*c)^2-tan(1/2*d*x+1/2*c)^2*b-a-b)^2/(a+b)/(a-b)^2*tan(1/2*d*x+1/2*c)*a*A+2/d*b^2/(a*tan(1/2*d*x+1/2*c)^2-tan(1
/2*d*x+1/2*c)^2*b-a-b)^2/(a+b)/(a-b)^2*tan(1/2*d*x+1/2*c)*A-2/d*a^4/b^2/(a*tan(1/2*d*x+1/2*c)^2-tan(1/2*d*x+1/
2*c)^2*b-a-b)^2/(a+b)/(a-b)^2*tan(1/2*d*x+1/2*c)*C-1/d/b/(a*tan(1/2*d*x+1/2*c)^2-tan(1/2*d*x+1/2*c)^2*b-a-b)^2
/(a+b)/(a-b)^2*tan(1/2*d*x+1/2*c)*a^3*C+6/d/(a*tan(1/2*d*x+1/2*c)^2-tan(1/2*d*x+1/2*c)^2*b-a-b)^2/(a+b)/(a-b)^
2*tan(1/2*d*x+1/2*c)*C*a^2-3/d*a*b/(a^4-2*a^2*b^2+b^4)/((a-b)*(a+b))^(1/2)*arctanh(tan(1/2*d*x+1/2*c)*(a-b)/((
a-b)*(a+b))^(1/2))*A-2/d*a^5/b^3/(a^4-2*a^2*b^2+b^4)/((a-b)*(a+b))^(1/2)*arctanh(tan(1/2*d*x+1/2*c)*(a-b)/((a-
b)*(a+b))^(1/2))*C+5/d*a^3/b/(a^4-2*a^2*b^2+b^4)/((a-b)*(a+b))^(1/2)*arctanh(tan(1/2*d*x+1/2*c)*(a-b)/((a-b)*(
a+b))^(1/2))*C-6/d*b*a/(a^4-2*a^2*b^2+b^4)/((a-b)*(a+b))^(1/2)*arctanh(tan(1/2*d*x+1/2*c)*(a-b)/((a-b)*(a+b))^
(1/2))*C-1/d/b^3*ln(tan(1/2*d*x+1/2*c)-1)*C+1/d/b^3*ln(tan(1/2*d*x+1/2*c)+1)*C
________________________________________________________________________________________
maxima [F(-2)] time = 0.00, size = 0, normalized size = 0.00 \[ \text {Exception raised: ValueError} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
integrate(sec(d*x+c)^2*(A+C*sec(d*x+c)^2)/(a+b*sec(d*x+c))^3,x, algorithm="maxima")
[Out]
Exception raised: ValueError >> Computation failed since Maxima requested additional constraints; using the 'a
ssume' command before evaluation *may* help (example of legal syntax is 'assume(4*a^2-4*b^2>0)', see `assume?`
for more details)Is 4*a^2-4*b^2 positive or negative?
________________________________________________________________________________________
mupad [B] time = 13.17, size = 6565, normalized size = 30.97 \[ \text {result too large to display} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
int((A + C/cos(c + d*x)^2)/(cos(c + d*x)^2*(a + b/cos(c + d*x))^3),x)
[Out]
(C*atan(((C*((C*((8*(4*C*b^15 + 6*A*a^2*b^13 + 12*A*a^3*b^12 - 12*A*a^4*b^11 - 6*A*a^5*b^10 + 6*A*a^6*b^9 - 8*
C*a^2*b^13 + 34*C*a^3*b^12 + 6*C*a^4*b^11 - 36*C*a^5*b^10 - 4*C*a^6*b^9 + 18*C*a^7*b^8 + 2*C*a^8*b^7 - 4*C*a^9
*b^6 - 6*A*a*b^14 - 12*C*a*b^14))/(a*b^12 + b^13 - 3*a^2*b^11 - 3*a^3*b^10 + 3*a^4*b^9 + 3*a^5*b^8 - a^6*b^7 -
a^7*b^6) - (8*C*tan(c/2 + (d*x)/2)*(8*a*b^15 - 8*a^2*b^14 - 32*a^3*b^13 + 32*a^4*b^12 + 48*a^5*b^11 - 48*a^6*
b^10 - 32*a^7*b^9 + 32*a^8*b^8 + 8*a^9*b^7 - 8*a^10*b^6))/(b^3*(a*b^10 + b^11 - 3*a^2*b^9 - 3*a^3*b^8 + 3*a^4*
b^7 + 3*a^5*b^6 - a^6*b^5 - a^7*b^4))))/b^3 - (8*tan(c/2 + (d*x)/2)*(8*C^2*a^10 + 4*C^2*b^10 - 8*C^2*a*b^9 - 8
*C^2*a^9*b + 9*A^2*a^2*b^8 + 24*C^2*a^2*b^8 + 32*C^2*a^3*b^7 - 52*C^2*a^4*b^6 - 48*C^2*a^5*b^5 + 57*C^2*a^6*b^
4 + 32*C^2*a^7*b^3 - 32*C^2*a^8*b^2 + 36*A*C*a^2*b^8 - 30*A*C*a^4*b^6 + 12*A*C*a^6*b^4))/(a*b^10 + b^11 - 3*a^
2*b^9 - 3*a^3*b^8 + 3*a^4*b^7 + 3*a^5*b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*(8*a*b^15 - 8*a^2*b^14 - 32*a^3*b^13
+ 32*a^4*b^12 + 48*a^5*b^11 - 48*a^6*b^10 - 32*a^7*b^9 + 32*a^8*b^8 + 8*a^9*b^7 - 8*a^10*b^6))/((b^13 - 5*a^2*
b^11 + 10*a^4*b^9 - 10*a^6*b^7 + 5*a^8*b^5 - a^10*b^3)*(a*b^10 + b^11 - 3*a^2*b^9 - 3*a^3*b^8 + 3*a^4*b^7 + 3*
a^5*b^6 - a^6*b^5 - a^7*b^4)))*((a + b)^5*(a - b)^5)^(1/2)*(3*A*b^4 + 2*C*a^4 + 6*C*b^4 - 5*C*a^2*b^2))/(2*(b^
13 - 5*a^2*b^11 + 10*a^4*b^9 - 10*a^6*b^7 + 5*a^8*b^5 - a^10*b^3)))*((a + b)^5*(a - b)^5)^(1/2)*(3*A*b^4 + 2*C
*a^4 + 6*C*b^4 - 5*C*a^2*b^2))/(2*(b^13 - 5*a^2*b^11 + 10*a^4*b^9 - 10*a^6*b^7 + 5*a^8*b^5 - a^10*b^3))))*((a
+ b)^5*(a - b)^5)^(1/2)*(3*A*b^4 + 2*C*a^4 + 6*C*b^4 - 5*C*a^2*b^2)*1i)/(d*(b^13 - 5*a^2*b^11 + 10*a^4*b^9 - 1
0*a^6*b^7 + 5*a^8*b^5 - a^10*b^3))
________________________________________________________________________________________
sympy [F] time = 0.00, size = 0, normalized size = 0.00 \[ \int \frac {\left (A + C \sec ^{2}{\left (c + d x \right )}\right ) \sec ^{2}{\left (c + d x \right )}}{\left (a + b \sec {\left (c + d x \right )}\right )^{3}}\, dx \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
integrate(sec(d*x+c)**2*(A+C*sec(d*x+c)**2)/(a+b*sec(d*x+c))**3,x)
[Out]
Integral((A + C*sec(c + d*x)**2)*sec(c + d*x)**2/(a + b*sec(c + d*x))**3, x)
________________________________________________________________________________________